package com.kfm.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.github.yulichang.extension.mapping.base.MPJDeepService;
import com.kfm.hotel.domain.Room;

import java.util.Map;

/**
* @author 10854
* @description 针对表【room】的数据库操作Service
* @createDate 2023-06-05 09:37:17
*/
public interface RoomService extends MPJDeepService<Room> {

    PageInfo<Room> list(Room room, Integer page, Integer limit);

    boolean updateState(Integer id, Integer state);

    Map<String, Integer> getRoomCount();

}
